/**
 * Nextcloud - passman
 *
 * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
 * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

@import 'variables';
@import 'mixins';
@import 'partials/button';
@import 'partials/popovermenu';
@import 'partials/tabs';
@import 'partials/pwgen';
@import 'vaults';
@import 'credentials';
@import 'menu';
@import 'share_credential';
@import 'settings';

#app-settings-content:not(.ng-hide) {
  height: 90px;
  display: inherit !important;
  padding: 0;
  transition: height 0.15s ease-out;
}
#app-settings-content.ng-hide{
  display: inherit !important;
  height: 0;
  padding: 0;
  transition: height 0.15s ease-in;
}
.ui-dialog{
  z-index: 9999;
}
#notification{
  .row{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


//
#app-content #app-content-wrapper #passman-controls {
  border-bottom: 1px solid #c9c9c9;
}


#passman-controls {
  box-sizing: border-box;
  position: fixed;
  top: 45px;
  right: 0;
  left: 0;

  padding: 0 !important;
  margin: 0;
  background-color: rgba(255, 255, 255, .95);
  z-index: 50;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  height: 44px !important;
}
@media only screen and (max-width: 768px){
  #passman-controls{
    width: 100%;
  }
}
@media only screen and (min-width: 768px){
  #app-navigation+#app-content #passman-controls {
    left: 250px;
    width: calc( 100% - 250px ) !important;
  }
}
#passman-controls .button,  #passman-controls, #passman-controls input[type='submit'],  #passman-controls input[type='text'],  #passman-controls input[type='password'],  #passman-controls select {
  box-sizing: border-box;
  display: inline-block;
  height: 36px;
  padding: 7px 10px;
}
.nopadding{
  padding-right: 0;
  padding-left: 0;
}
.clearfix{
  clear: both;
}
//Fix NC fucking up our style
input[type="checkbox"]{
  min-height: inherit;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}